<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #tit{
            background-color: aqua;
            width: 100px;
            height: 100px;
            /* 将元素模式转换为行内块 */
            display: inline-block;
        }
        #box{
            background-color: pink;
        }
    </style>
</head>
<body>
    <span id="tit">我是ZZC1号</span>
    <span id="box">我是ZZC1号</span>
</body>
</html>